<template>
	<view class="bg-white" style="min-height: 100vh;">
		<view class="flex justify-center" style="padding-top: 230rpx;">
			<image src="@/static/images/logo-1.png" mode="widthFix" style="width: 235rpx; height: 352rpx;">
			</image>
		</view>

		<view class="flex justify-center margin-top-xl padding-top-xl">
			<view style="width: 420rpx;">
				<u-divider text="请选择您的身份" textSize="30rpx"></u-divider>
			</view>
		</view>

		<view class="flex justify-center login-btn margin-top-lg padding-lr">
			<u-button @click="submit(0)" color="#ea3457" type="primary" size="large" shape="circle" text="学生/家长注册登录">
			</u-button>
			<u-button @click="submit(1)" class="margin-left" color="#ea3457" type="primary" size="large" shape="circle" text="机构/老师注册登录">
			</u-button>
		</view>

		<u-no-network></u-no-network>
	</view>
</template>

<script>
	export default {
		data() {
			return {

			}
		},
		computed: {

		},
		onLoad(e) {

		},

		methods: {
			//选择登陆方式
			submit(type){
				this.$routerGo(`/pages/login/login?type=${type}`)
			}
		}
	}
</script>

<style lang="scss" scoped>

</style>
